home *** CD-ROM | disk | FTP | other *** search
/ Young Minds / Young Minds Interactive CD-ROM.ISO / umoria / install < prev    next >
Encoding:
Text File  |  1988-07-28  |  2.5 KB  |  58 lines

  1. To compile the program, edit the config.h file to change the
  2. names of the files the game uses and the wizard info.  Also, uncomment the
  3. appropriate line for the system you are compiling on. Type make
  4. to compile the game.  You may want to edit the 'Moria_hours' file
  5. to indicate during what hours people are allowed to play the game.
  6.  
  7. The game needs to be installed setuid for the scoreboard to work.
  8. Use the command 'chmod 4511 moria' to do this.
  9. The file Highscores should be mode 644 with the same owner as moria.
  10. The files Moria_hours and Moria_news must be publicly readable with
  11. mode 444.
  12. (Or just type 'make install' after setting BINDIR and LIBDIR in the
  13. Makefile to appropriate values.)
  14.  
  15. There are two choices for the key bindings, the original style and
  16. a rogue-like style.  You can choose which one is to be the default
  17. by changing the value of KEY_BINDINGS in config.h.
  18.  
  19. If the display does not look right, try defining BUGGY_CURSES in config.h.
  20. Delete io.o, touch *.o, and then recompile.
  21.  
  22. For the IBM PC-RT, 3B1, 3B2, 3B20, and perhaps others, you must
  23. define NO_SIGNED_CHARS in config.h.
  24.  
  25. Moria may not compile properly on SYS III machines(?)
  26.  
  27. Some versions of the SUN4 compiler will dump core while compiling moria2.c
  28. with the -O flag.  Just compile without the -O flag if this happens.
  29.  
  30. If you use the Gnu C Compiler, you must also use the -fwritable-strings
  31. options.  
  32.  
  33. If your compiler has a seven character identifier limit, the Flexnames
  34. sed file should solve the problem for you.
  35.  
  36. There is a patch file which attempts to eliminate the 32bit int assumptions
  37. of umoria called Int16bit.patch.  This file should enable systems with
  38. 16 bit integers (such as Xenix) to compile umoria.  It has not been 
  39. extensively tested though.
  40.  
  41. There is an obsolete patch file included for Xenix.  This is a patch for an
  42. older version of moria, 4.85, and may not work correctly on the new version.
  43. (I haven't tried it.)  I recommend using the In16bit.patch file first, and
  44. then referencing this file if you still have problems.
  45. Use the -N option of patch to avoid unfixing bugs that have already been
  46. fixed. 
  47.  
  48. I have successfully compiled the game on a VAX running 4.3BSD,
  49. SUN 3/50 running UNIX 4.2 Release 3.2, a microvax running ULTRIX 2.0,
  50. and an NCR Tower running SYS Vr2
  51. The program assumes that ints are 32 bits. The program passes lint
  52. so further porting should not be too hard.
  53. BSD/UNIX dependencies are(?) limited to the files io.c, save.c, and
  54. signals.c.
  55.  
  56. The documentation file was split into two parts for usenet distribution.
  57. Build a single doc file with the command "cat Moria.doc.? >Moria.doc".
  58.